package com.burt.strategy;

/**
 * Description:策略模式测试类
 * User: Burt
 * Date: 2017-05-23
 * Time: 23:59
 */
public class StrategyTest {
    public static void main(String[] args){
        String beginPlace = "深大";
        String endPlace = "世界之窗";

        GaodeMap gaodeMap = new GaodeMap(beginPlace,endPlace);
        gaodeMap.go(new ByBicycle());
        System.out.println();
        gaodeMap.go(new ByCar());
    }
}
